package org.zxy.org.service;

import org.zxy.base.util.PageList;
import org.zxy.org.domain.Department;
import org.zxy.org.query.DepartmentQuery;

import java.util.List;


public interface IDepartmentService {
    void save(Department department);

    void deleteById(Long id);

    void update(Department department);

    Department selectById(Long id);

    List<Department> selectAll();

    PageList<Department> queryPage(DepartmentQuery departmentQuery);

    List<Department> queryDeptTree();

    void batchDelete(List<Long> ids);
}
